﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CreateLock（创建线程锁）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function CreateLock() As Any Ptr<br>void* CreateLock();</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" CreateLock() As Long</P>
<P>无参数</P>
<P>成功返回锁对象指针。</P>
<P>说明：<br>线程锁，也就是许可证（CriticalSection）。</P>
</body>
</html>